package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * android应用对象 yx_android_application
 * 
 * @author lingyu
 * @date 2024-03-04
 */
public class YxAndroidApplicationVo
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private Long daId;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String appName;

    /** 应用包名 */
    @Excel(name = "应用包名")
    private String packageName;

    /** 应用图标 */
    @Excel(name = "应用图标")
    private String icon;

    /** 1可用、0不可用 */
    @Excel(name = "1可用、0不可用")
    private Long status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Long getDaId() {
        return daId;
    }

    public void setDaId(Long daId) {
        this.daId = daId;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAppName(String appName) 
    {
        this.appName = appName;
    }

    public String getAppName() 
    {
        return appName;
    }
    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appName", getAppName())
            .append("packageName", getPackageName())
            .append("icon", getIcon())
            .append("createTime", getCreateTime())
            .toString();
    }
}
